# $Id: PKGBUILD 87440 2013-03-31 19:18:58Z stephane $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: DuGi <dugi@irc.pl>

pkgname=springlobby
pkgver=0.169
pkgrel=1
pkgdesc="A free cross-platform lobby client for the Spring RTS project."
arch=('i686' 'x86_64')
url="http://springlobby.info/"
license=('GPL2')
depends=('hicolor-icon-theme' 'wxgtk' 'curl' 'libtorrent-rasterbar' 'boost-libs' 'alure')
optdepends=('sdl' 'sdl_sound' 'sdl_mixer') 
makedepends=('boost' 'asio' 'cmake')
install=springlobby.install
source=(http://www.springlobby.info/tarballs/${pkgname}-${pkgver}.tar.bz2)
md5sums=('1eb265268ac39d9b7e8fec90df92ff3d')

build() {
  cd $srcdir/${pkgname}-$pkgver

  cmake . \
    -DCMAKE_INSTALL_PREFIX=/usr
  make 
}

package() {
  cd $srcdir/${pkgname}-$pkgver

  make DESTDIR=$pkgdir install
}

# vim: sw=2:ts=2 et:
